package com.elite.dao;

import com.elite.entity.ShoppingCart;

import java.util.List;
import java.util.Map;

public interface ShoppingCartMapper {
    int deleteByPrimaryKey(Integer shoppingcartId);

    int insert(ShoppingCart record);

    int insertSelective(ShoppingCart record);

    ShoppingCart selectByPrimaryKey(Integer shoppingcartId);

    List<ShoppingCart> selectByUserId(Integer userId);

    ShoppingCart selectByByUserIdAndGoodsId(Map<String, Object> params);

    int updateByPrimaryKeySelective(ShoppingCart record);

    int updateByPrimaryKey(ShoppingCart record);
}